﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Liolikas.GameMenu
{
    class MenuSection
    {
        public delegate void Action();

        public String name;
        public Action action;
        public MenuSection(String name, Action action)
        {
            this.name = name;
            this.action = action;
        }

        public void RunCommand(){
            action();
        }
    }
}
